import request from '@/utils/request'
// 分项能耗报表-树
export const getsubtreelistapi = () => request.get('ecm-microservice-biz/ecm/building/energy/report/subItem/tree')
// 分项能耗报表-列表
export const getsubdatalistapi = params => request.get('ecm-microservice-biz/ecm/building/energy/report/subItem/list', { params })

// 分户能耗报表-左侧树
export const gethoutreelistapi = () => request.get('ecm-microservice-biz/ecm/building/energy/report/household/tree')
// 分户能耗报表-列表
export const gethoudatalistapi=params=>request.get('ecm-microservice-biz/ecm/building/energy/report/household/list', { params })